package com.lc1993929.chapter21.ThreadException;

/**
 * Created by LiuChang on 2018/9/19.
 */
public class MyUncaughtExceptionHandler implements Thread.UncaughtExceptionHandler {

    @Override
    public void uncaughtException(Thread t, Throwable e) {
        System.out.println("caught " + e);
    }

}
